<?php foreach ($banners as $item): ?>
    <tr class="odd">
        <td style="width: 60px" class="data_id"><?php echo $item->banner_id ?></td>
        <td class="data_file">
            <div style="width: 200px;overflow-x: scroll">
            <img src="<?php echo urlImageFolder('banner') . $item->file ?>" height="50" />
            </div>
        </td>
        <td class="data_area"><?php echo $item->area ?></td>
        <td class="data_orders"><?php echo $item->orders ?></td>
        <td class="data_link" style="width: 350px;word-break:break-all;"><?php echo $item->link ?></td>
        <td nowrap="nowrap">
            <a class="update" title="" data-toggle="tooltip" href="#" data-original-title="Update">
                <i class="glyphicon glyphicon-pencil"></i>
            </a>
            <a class="delete" title="" data-toggle="tooltip" href="<?php echo Yii::app()->createUrl("Banner/delete/",array('id' => $item->banner_id )) ?>" data-original-title="Delete">
                <i class="glyphicon glyphicon-trash"></i>
            </a>
        </td>
    </tr>  
<?php endforeach; ?>